package lab02.test35;

public class Test {
    public static void main(String[] args) {
        Manager a=new Manager("张三",2000);
        Salesman b=new Salesman("李四",2500,50,30);
        Worker c=new Worker("王二",23,34);
        System.out.println("经理:"+a.getName()+"工资为："+a.computerSalary());
        System.out.println("销售人员:"+b.getName()+"工资为："+b.computerSalary());
        System.out.println("一般工人："+c.getName()+"工资为："+c.computerSalary());
    }
}
